|
|
@@ -20,6 +20,7 @@ unless user.agents.where(:name => "XKCD Source").exists?
|
20
|
20
|
Agent.build_for_type("Agents::WebsiteAgent", user,
|
21
|
21
|
:name => "XKCD Source",
|
22
|
22
|
:schedule => "every_1d",
|
|
23
|
+ :type => "html",
|
23
|
24
|
:options => {
|
24
|
25
|
:url => "http://xkcd.com",
|
25
|
26
|
:mode => :on_change,
|
|
|
@@ -37,6 +38,7 @@ unless user.agents.where(:name => "iTunes Trailer Source").exists?
|
37
|
38
|
:options => {
|
38
|
39
|
:url => "http://trailers.apple.com/trailers/home/rss/newtrailers.rss",
|
39
|
40
|
:mode => :on_change,
|
|
41
|
+ :type => "xml",
|
40
|
42
|
:expected_update_period_in_days => 5,
|
41
|
43
|
:extract => {
|
42
|
44
|
:title => {:css => "item title", :text => true},
|